package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 预警设置表
 * </p>
 *
 * @author James
 * @since 2023-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_sdiot_waring")
public class RoomSdiotWaring extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 异常用冷水预警
     */
    private Boolean coldWorterWaring;

    /**
     * 异常用电预警
     */
    private Boolean ammterWaring;

    /**
     * 异常用热水预警
     */
    private Boolean hotWorterWaring;

    /**
     * 电表智能催租
     */
    private Boolean ammeterPromotionWaring;

    /**
     * 门锁智能催租
     */
    private Boolean doorlockPromotionWaring;

    /**
     * 异常用冷水预警天数
     */
    private Integer coldWorterWaringDay;

    /**
     * 异常用电预警天数
     */
    private Integer ammterWaringDay;

    /**
     * 异常用热水天数
     */
    private Integer hotWorterWaringDay;

    /**
     * 电表智能催租天数
     */
    private Integer ammeterPromotionWaringDay;

    /**
     * 门锁智能催租预警天数
     */
    private Integer doorlockPromotionWaringDay;

    /**
     * 异常用冷水预警读数
     */
    private Integer coldWorterWaringRead;

    /**
     * 异常用电预警读数
     */
    private Integer ammterWaringRead;

    /**
     * 异常用热水读数
     */
    private Integer hotWorterWaringRead;

    //未入租房源  连续开门
    private Integer NotLetContinuousOpenDoor;

    //未入租房源  连续开门  N天
    private Integer NotLetContinuousOpenDoorDay;

    //出租无开门记录
    private Integer rentOutNoOpenDoor;

    //出租无开门记录  N天
    private Integer rentOutNoOpenDoorDay;

    //单日开门超过次数
    private Integer singleDayOpeningNum;

    //门锁离线 预警
    private Integer doorLockOffline;

    //门锁离线 N天
    private Integer doorLockOfflineDay;

    //电表异常 预警
    private Integer energyMeterOffline;

    //电表异常  N天
    private Integer energyMeterOfflineDay;

    //水表异常  预警
    private Integer waterMeterOffline;

    //水表异常  N天
    private Integer waterMeterOfflineDay;

    /**
     * 备注
     */
    private String bz;

}
